package com.mnyc.system.domain;

import com.mnyc.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 文件信息对象 sys_file_info
 *
 * @author ruoyi
 * @date 2022-06-10
 */
public class SysFileInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 文件id
     */
    private Long fileId;

    private String fileName;


    private String filePath;


    private String businessType;


    private String businessId;

    private String childType;

    public void setFileId(Long fileId) {
        this.fileId = fileId;
    }

    public Long getFileId() {
        return fileId;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessId(String businessId) {
        this.businessId = businessId;
    }

    public String getBusinessId() {
        return businessId;
    }

    public void setChildType(String childType) {
        this.childType = childType;
    }

    public String getChildType() {
        return childType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("fileId", getFileId())
                .append("fileName", getFileName())
                .append("filePath", getFilePath())
                .append("businessType", getBusinessType())
                .append("businessId", getBusinessId())
                .append("childType", getChildType())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}
